<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="t" %>
<%
	request.setAttribute("path", request.getContextPath());
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8" />
	<title>致-青春 所有分类</title>
	<link rel="stylesheet" type="text/css" href="css/base.css" />
</head>
<body>
	<div id="container">
		<jsp:include page="/page/common/header.jsp"></jsp:include>
		<div id="kernel" class="center-box">
			<div id="category">
			<!-- 
				<dl>
					<dt>
						<a href="category.html">Java</a>
					</dt>
					<dd>
						<ul>
							<li>
								<a href="category.html?id=3">Spring</a>
							</li>	
							<li>
								<a href="category.html">Struts</a>
							</li>	
							<li>
								<a href="category.html">Ibatis</a>
							</li>	
							<li>
								<a href="category.html">EJB</a>
							</li>	
						</ul>
					</dd>
				</dl>
				<dl>
					<dt>
						<a href="category.html">JavaScript</a>
					</dt>
					<dd>
						<ul>
							<li>
								<a href="category.html">jQuery</a>
							</li>	
							<li>
								<a href="category.html">ExtJS</a>
							</li>	
						</ul>
					</dd>
				</dl>
				 -->
				 <c:forEach items="${categoryList }" var="c1">
				 	<dl>
				 		<dt>${c1.name }</dt>
				 		<dd>
				 			<ul>
				 				<c:forEach items="${c1.categoryList }" var="c2">
				 					<li>
				 						<a href="category.html?id=${c2.id }">${c2.name }</a>
				 					</li>
				 				</c:forEach>
				 			</ul>
				 		</dd>
				 	</dl>
				 </c:forEach>
			</div>
		</div>
		<jsp:include page="/page/common/footer.jsp"></jsp:include>
	</div>
</body>
</html>